package trlygjj.tanruiliyigenjinjin.query;

import lombok.Getter;
import lombok.Setter;
import trlygjj.tanruiliyigenjinjin.util.StringUtil;

@Getter
@Setter
public class LinkmanQueryObject extends QueryObject{
    /**
     * 名字/邮箱
     */
    private String keywords;

    /**
     * 所属学校
     */
    private String schoolName;

    public String getKeywords(){
        if(!StringUtil.hasLength(keywords)){
            return null;
        }
        return keywords;
    }
    public String getSchoolName(){
        if(!StringUtil.hasLength(schoolName)){
            return null;
        }
        return schoolName;
    }
}
